#ifndef SCORESHEET_H
#define SCORESHEET_H

#include <QtGlobal>
#include <QVector>


class ScoreCell{
public:
    explicit ScoreCell();
    explicit ScoreCell(quint32 player, bool isCorrect);

public:
    quint32  m_playerId;
    bool     m_isCorrect;
};

class ScoreSheet
{
public:
    ScoreSheet();


    int correctNumberOf(quint32 playerId) const;
    int incorrectNumberOf(quint32 playerId) const;

    void addCell(quint32 playerId, bool isCorrect);

    void clear();

private:
    QVector<ScoreCell>   m_sheet;
};

#endif // SCORESHEET_H
